]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Adjust font sizes in Calendar popover
authorSam Hewitt <snwh@gnome.org>
Mon, 13 May 2024 17:41:11 +0000 (15:11 -0230)
committerSam Hewitt <665-snwh@users.noreply.gitlab.gnome.org>
Mon, 20 May 2024 12:34:13 +0000 (12:34 +0000)
- increase the font size definition for %smaller used by calendar
- drop numeric time style for weather box

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7400
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6024
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3313>

data/theme/gnome-shell-sass/_common.scss
data/theme/gnome-shell-sass/widgets/_calendar.scss

index adb8b70ef20c6970d7b7685c4bd672f9144e6f03..28a7a5c1c19a7e287f51d6022a6e5c940f26368b 100644 (file)
@@ -291,7 +291,7 @@ stage {
 
 %smaller {
   font-weight: 400;
-  @include fontsize(8pt);
+  @include fontsize(9pt);
 }
 
 %monospace {font-family: monospace;}
index f34e59110d8ca64dba15462f5deb3080c1a09736..80b30dc930bf41a2859f66364b5fb8fa3483a1e9 100644 (file)
       spacing-columns: $base_padding * 2;
 
       .weather-forecast-time {
-        @extend %numeric;
-        @include fontsize(10pt);
-        padding-top: 0.2em;
-        padding-bottom: 0.4em;
+        @extend %smaller;
+        padding-top: $base_padding;
+        padding-bottom: $base_padding;
       }
       .weather-forecast-icon {
         icon-size: $large_scalable_icon_size;